home *** CD-ROM | disk | FTP | other *** search
/ Aminet 7 / Aminet 7 - August 1995.iso / Aminet / docs / misc / ConcNews.lha / news / amiga.system / comp.sys.amiga.programmer_5672_000011.msg < prev    next >
Encoding:
Text File  |  1994-11-27  |  1.3 KB  |  32 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: dd.chalmers.se!news.chalmers.se!sunic!EU.net!sun4nl!sci.kun.nl!severus.mbfys.kun.nl!rhialto
  3. From: rhialto@mbfys.kun.nl (Olaf Seibert)
  4. Subject: Re: Problem with softlinks
  5. Message-ID: <CKyD0K.4Ky@sci.kun.nl>
  6. Keywords: Makelink, softlink, delete
  7. Sender: news@sci.kun.nl (News owner)
  8. Nntp-Posting-Host: severus.mbfys.kun.nl
  9. Organization: University of Nijmegen, The Netherlands
  10. References: <1994Feb8.165613.16041@uts.uni-c.dk>
  11. Date: Wed, 9 Feb 1994 10:26:43 GMT
  12. Lines: 18
  13.  
  14. In <1994Feb8.165613.16041@uts.uni-c.dk> thomas@mat.dth.dk (Thomas Sepstrup Nielsen) writes:
  15. >The REAL PROBLEM is that I cannot delete the soft-link again.  I have
  16. >tried just about everything (I think :).
  17.  
  18. As far as I've tried, you can't usually delete a softlink if it
  19. does not point to something else (that you must be able to delete).
  20. This seems to be because the Delete command locks the link to see if
  21. it exists and is deletable. But of course it will lock the object
  22. pointed to instead (if that exists).
  23.  
  24. The solution: use a program that bypasses all checks and just calls
  25. the DOS function DeleteFile() (or whatever it was called). That works
  26. just fine.
  27.  
  28. -Olaf.
  29. --
  30. ___ Olaf 'Rhialto' Seibert       D787B44DFC896063 4CBB95A5BD1DAA96 
  31. \X/ I can bicycle on both sides of the road - rhialto@mbfys.kun.nl
  32.